package com.itlong.cloud.noncore.commons;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <desc>
 *      告警事件上报后主动向前端推送消息业务处理暴露接口
 * </desc>
 *
 * @createDate 2021/06/03
 */
@FeignClient("non-core-service")
public interface IDeviceAlarmPushMessageServiceClient {
    /**
     * <desc>
     *      告警事件上报后主动向前端推送消息
     * </desc>
     * @param projectId 项目编号
     *
     * @param
     * @return
     * @author JuGuang.S
     * @createDate 2021/06/03
     */
    @RequestMapping(path = "/timeTask/deviceAlarmPushMessage")
    void deviceAlarmPushMessage(@RequestParam("projectId") String projectId,
                                @RequestParam("remark") boolean remark,
                                @RequestParam(value = "eventSeq",required = false) String eventSeq) throws Exception;
}
